//
//  WXKeplerApiModule.swift
//  mlz
//
//  Created by 吕凌 on 2018/6/21.
//  Copyright © 2018年 吕凌. All rights reserved.
//

import Foundation

public extension WXKeplerApiModule {
    
    @objc public func openPage(_ params:[String:Any], callback: @escaping WXModuleKeepAliveCallback) {
        let url = params["url"]
        KeplerApiManager.sharedKPService().openKeplerPage(withURL: url as! String, failedCallback: {
            (code, str) -> Void in
            print("打开页面失败")
        })
    }
}

